import { createApp } from 'vue'
import { createPinia } from 'pinia';     // 状态管理
import piniaPluginPersist from 'pinia-plugin-persist';

import Antd from 'ant-design-vue';

import App from './App.vue'
import router from './router'; 
import '@/styles/tailwind.scss'
import 'ant-design-vue/dist/reset.css';

import '@/styles/index.scss'


const app = createApp(App);

// 配置 Pinia 和持久化插件
const pinia = createPinia();
pinia.use(piniaPluginPersist);
// 安装插件
app.use(pinia);
app.use(Antd)
app.use(router);
app.mount('#app');

